package org.future.task.core.handler;

import java.util.List;

public interface TaskRunner<Flow> {

    void runner(List<Flow> runner) throws Exception;

    void execute(Flow flow) throws Exception;

    List<Flow> before(List<Object> object);

    List<Flow> after(List<Flow> flows);

    Flow transform(Object o);

    void tryException(Flow flow, Exception e);

}
